<?php
namespace App\Services\Finance;

use App\Repositories\Finance\FinanceAccountRepository;

class FinanceAccountService
{
    private $service;

    public function __construct()
    {
        $this->service = new FinanceAccountRepository();
    }

    public function getAdminIndex()
    {
        return $this->service->getAdminIndex();
    }

    public function setAdd($data)
    {
        return $this->service->setAdd($data);
    }

    public function setModify($data,$id)
    {
        return $this->service->setModify($data,$id);
    }

    public function getOne($id)
    {
        return $this->service->getShowOne($id);
    }

    public function getBindOneByUid($uid)
    {
        return $this->service->getBindOneByUid($uid);
    }
}